package one_day;

import java.util.Locale;
import java.util.Scanner;

/**
 * 输出该字母的大写
 */
public class ReverseUpper {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请随意输入一个字符：");
        String letter = sc.next();
        char c = letter.charAt(0);
        if (c >= 'A' && c <= 'Z') {
            System.out.println(letter.toLowerCase(Locale.ROOT));
            return;
        }
        System.out.println(letter);
    }
}
